package com.erdos.hyt.mall.model;//

import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModelProperty;
import org.apache.ibatis.type.Alias;

import java.math.BigDecimal;//
import java.time.LocalDateTime;
import java.util.Date;//

/**
 * 商品库存
 * @author liurong
 * @date 2017年4月5日
 */
@Alias("mallGoodsSku")
public class MallGoodsSku {
    @ApiModelProperty(value = "库存ID")
    private Integer skuId;//库存ID

    @ApiModelProperty(value = "商品ID")
    private Integer goodsId;//商品ID

    @ApiModelProperty(value = "分类ID")
    private Integer categoryId;//分类ID

    @ApiModelProperty(value = "分类名称")
    private String categoryName;//分类名称

    @ApiModelProperty(value = "现有库存")
    private Integer nowInventory;//现有库存

    @ApiModelProperty(value = "最小库存(预警数)")
    private Integer minInventory;//最小库存（预警数）

    @ApiModelProperty(value = "原始价格")
    private BigDecimal oldPrice;//原始价格

    @ApiModelProperty(value = "销售价格")
    private BigDecimal salePrice;//销售价格

    @ApiModelProperty(value = "商品计量单位")
    private String unit;//商品计量单位

    @ApiModelProperty(value = "商品颜色")
    private String color;//商品颜色

    @ApiModelProperty(value = "包装类型")
    private String packageType;//包装类型

    @ApiModelProperty(value = "规格")
    private  String specification;

    @ApiModelProperty(value = "重量")
    private Double weight;

    @ApiModelProperty(value = "排序")
    private Integer sort;//排序

    @ApiModelProperty(value = "备注")
    private String remark;//备注

    @ApiModelProperty(value = "是否显示")
    private String isShow;//是否显示

    @JsonIgnore
    private Integer createUser;//

    @JsonIgnore
    private LocalDateTime createTime;//

    @JsonIgnore
    private Integer updateUser;//

    @JsonIgnore
    private LocalDateTime updateTime;//

    private String delFlag;//删除标记

    public Integer getSkuId() {
        return skuId;
    }

    public void setSkuId(Integer skuId) {
        this.skuId = skuId;
    }

    public Integer getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(Integer goodsId) {
        this.goodsId = goodsId;
    }

    public Integer getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(Integer categoryId) {
        this.categoryId = categoryId;
    }

    public String getCategoryName() {
        return categoryName;
    }

    public void setCategoryName(String categoryName) {
        this.categoryName = categoryName;
    }

    public Integer getNowInventory() {
        return nowInventory;
    }

    public void setNowInventory(Integer nowInventory) {
        this.nowInventory = nowInventory;
    }

    public Integer getMinInventory() {
        return minInventory;
    }

    public void setMinInventory(Integer minInventory) {
        this.minInventory = minInventory;
    }

    public BigDecimal getOldPrice() {
        return oldPrice;
    }

    public void setOldPrice(BigDecimal oldPrice) {
        this.oldPrice = oldPrice;
    }

    public BigDecimal getSalePrice() {
        return salePrice;
    }

    public void setSalePrice(BigDecimal salePrice) {
        this.salePrice = salePrice;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }

    public String getPackageType() {
        return packageType;
    }

    public void setPackageType(String packageType) {
        this.packageType = packageType;
    }

    public String getSpecification() {
        return specification;
    }

    public void setSpecification(String specification) {
        this.specification = specification;
    }

    public Double getWeight() {
        return weight;
    }

    public void setWeight(Double weight) {
        this.weight = weight;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getIsShow() {
        return isShow;
    }

    public void setIsShow(String isShow) {
        this.isShow = isShow;
    }

    public Integer getCreateUser() {
        return createUser;
    }

    public void setCreateUser(Integer createUser) {
        this.createUser = createUser;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    public Integer getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(Integer updateUser) {
        this.updateUser = updateUser;
    }

    public LocalDateTime getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(LocalDateTime updateTime) {
        this.updateTime = updateTime;
    }

    public String getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }
}